package com.engineering.elink.newsdao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.engineering.elink.domain.database.Label;
import com.engineering.elink.domain.news.Tag;

public interface TagMapper {
    int deleteByPrimaryKey(Integer tagId);

    int insert(Tag record);

    int insertSelective(Tag record);

    Tag selectByPrimaryKey(Integer tagId);

    int updateByPrimaryKeySelective(Tag record);

    int updateByPrimaryKey(Tag record);
 
    List<Label> selectTag(@Param("keyWord")String keyWord,@Param("count")Integer count);
    
}